//
//  Comment.m
//  CommentPage
//
//  Created by 欧杨 on 2020/11/28.
//

#import "Comment.h"

@implementation Comment

- (instancetype)initWithComment:(CommentModel *)comment
                        Replies:(NSMutableArray *)replies
                           User:(UserModel *)user
{
    self = [super init];
    if (self) {
        _comment = comment;
        _replies = [NSMutableArray arrayWithArray:replies];
        _user = user;
    }
    return self;
}

@end
